![]() |
PATH![]() |
![]() ![]() |
Sets the current graphics port to a default drawing state.
pascal OSStatus NormalizeThemeDrawingState (void);
The NormalizeThemeDrawingState function sets the background of a graphics port to white; the pen of the port to a size of 1 pixel by 1 pixel, a pattern mode of patCopy , and a pattern of black; and the text mode of the port to srcOr . NormalizeThemeDrawingState also flushes from memory any color foreground or background patterns saved in the port's GrafPort.pnPat or GrafPort.bkPat fields, respectively.